/* -*- C++ -*- */
// $Id$

// ============================================================================
//
// = LIBRARY
//    FTRTCS
//
// = FILENAME
//    TurnaroundNEANode.idl
//
// = AUTHOR
//    Kyoungho An <kyoungho.an@vanderbilt.edu>
//
// ============================================================================

#ifndef VANDERBILT_FTRTCS_TURNAROUND_NEANODE_IDL
#define VANDERBILT_FTRTCS_TURNAROUND_NEANODE_IDL

#pragma prefix "vanderbilt.edu"

#include "Turnaround.idl"

/**
 * This module provides definition of the NEANode Block module of the
 * conveyor belt system 
 */
module Block
{
  module Turnaround
  {
    /// the interface to the NEANode component
    interface TurnaroundNEANode
    {
      attribute Block::WatchdogTimer mWDT;
      attribute Block::EntityCount numEntity;
      attribute Block::Status status;

      /// a sensor uses this interface to send information
      void send_value_to_controller (in Block::Turnaround::SensorType st, in Block::EntityType et);
      /// a node uses this interface to send information
      void send_message_to_node (in Block::Status status);
    };
  };
};  

#endif /* VANDERBILT_FTRTCS_TURNAROUND_NEANODE_IDL */
